package run.halo.app.event.post;

import org.springframework.context.ApplicationEvent;
import run.halo.app.model.entity.Site;

/**
 * Site updated event.
 *
 * @author meazty
 * @since 2022/7/30 14:22
 **/
public class SiteUpdatedEvent extends ApplicationEvent {

    private final Site site;

    public SiteUpdatedEvent(Object source, Site site) {
        super(source);
        this.site = site;
    }

    public Site getSite() {
        return site;
    }
}
